(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <proto/iffparse.h>
STRPTR IDtoStr()
SYNOPSIS
LONG id
STRPTR buf

LOCATION
In IFFParseBase at offset 45
FUNCTION
INPUTS
id
pointer to an IFF chunk identfication code.
buf
buffer into which the id will be stored. Should at least be 5 bytes.
RESULT
buf - pointer to the supplied buffer.

NOTES
Assumes that the supplied ID is stored in local byte order.

EXAMPLE
// Print the ID of the current contextnode

UBYTE buf[5];
struct ContextNode *cn;

if (cn = CurrentChunk(iff)
    printf
    (
	"ID of current chunk: %s\n",
	IDtoStr(cn->cn_ID)
    );


BUGS
SEE ALSO
INTERNALS
HISTORY
03.02.1997 digulla
Iffparse.library as supplied by Nils H. Lorentzen